-- GENERATED SPELL FOR [Riverpaw Miner] --


function spell0_1426(pUnit, Event) --@Sunder Armor,n/a--
pUnit:FullCastSpellOnTarget(11971,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1426', 30349, 1)
end

function Sorts_1426(pUnit, Event)
local choix_sorts_1426 = math.random(0, 0)
if choix_sorts_1426 == 0 then
pUnit:RegisterEvent('spell0_1426', 1, 1)
end
end

function mob1426_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1426', math.random(1500, 3000), 1)
end

function mob1426_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1426_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1426_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1426, 1, 'mob1426_Action')
RegisterUnitEvent(1426, 2, 'mob1426_Leave')
RegisterUnitEvent(1426, 3, 'mob1426_Kill')
RegisterUnitEvent(1426, 4, 'mob1426_Die')
